package edu.cmu.aes.project2.security;

import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class SecurityProperties extends Properties{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7793155216089218360L;

	public SecurityProperties(){
		try {
			// temporary fix file name
			// this can be changed when deploy to real server
			FileReader file = new FileReader("D:\\AllWorkSpace\\workspace-aes\\WebServerTier\\WebContent\\WEB-INF\\conf\\security_config.properties");
			//FileReader file = new FileReader("\\WebContent\\WEB-INF\\conf\\security_config.properties");
			this.load(file);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
